package com.erp.erp_entitys.money.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 资金管理-收款-拆分表(ReceivePaymentSplit)实体类
 *
 * @author lst
 * @since 2020-12-15 19:56:00
 */
public class ReceivePaymentSplitEntity implements Serializable {
    private static final long serialVersionUID = 328398942805572484L;
    /**
    * 主键id
    */
    private Integer id;
    /**
    * 收款主表id
    */
    private Integer parentId;
    /**
    * 收款明细表id
    */
    private Integer detailId;
    /**
    * 合同编号
    */
    private String contractNo;
    /**
    * 发票编号
    */
    private String invoiceNumber;
    /**
    * 拆分金额
    */
    private BigDecimal splitAmount;
    /**
    * 认领金额
    */
    private BigDecimal amountClaimed;
    /**
    * 未分摊金额
    */
    private BigDecimal unallocatedAmount;
    /**
    * 国外银行扣费
    */
    private BigDecimal foreignBankDeductions;
    /**
    * 国内银行扣费
    */
    private BigDecimal domesticBankCharge;
    /**
    * 合同总额
    */
    private BigDecimal totalContract;
    /**
    * 认领客户
    */
    private String claimCustomer;
    /**
    * 认领业务员
    */
    private String claimSalesman;
    /**
     * 备注
     */
    private String memo;
    /**
    * 创建时间
    */
    private Date createDate;
    /**
    * 修改时间
    */
    private Date modifyTime;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public BigDecimal getSplitAmount() {
        return splitAmount;
    }

    public void setSplitAmount(BigDecimal splitAmount) {
        this.splitAmount = splitAmount;
    }

    public BigDecimal getAmountClaimed() {
        return amountClaimed;
    }

    public void setAmountClaimed(BigDecimal amountClaimed) {
        this.amountClaimed = amountClaimed;
    }

    public BigDecimal getUnallocatedAmount() {
        return unallocatedAmount;
    }

    public void setUnallocatedAmount(BigDecimal unallocatedAmount) {
        this.unallocatedAmount = unallocatedAmount;
    }

    public BigDecimal getForeignBankDeductions() {
        return foreignBankDeductions;
    }

    public void setForeignBankDeductions(BigDecimal foreignBankDeductions) {
        this.foreignBankDeductions = foreignBankDeductions;
    }

    public BigDecimal getDomesticBankCharge() {
        return domesticBankCharge;
    }

    public void setDomesticBankCharge(BigDecimal domesticBankCharge) {
        this.domesticBankCharge = domesticBankCharge;
    }

    public BigDecimal getTotalContract() {
        return totalContract;
    }

    public void setTotalContract(BigDecimal totalContract) {
        this.totalContract = totalContract;
    }

    public String getClaimCustomer() {
        return claimCustomer;
    }

    public void setClaimCustomer(String claimCustomer) {
        this.claimCustomer = claimCustomer;
    }

    public String getClaimSalesman() {
        return claimSalesman;
    }

    public void setClaimSalesman(String claimSalesman) {
        this.claimSalesman = claimSalesman;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ReceivePaymentSplitEntity").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",detailId=")
                .append(detailId)
                .append(",contractNo=")
                .append(contractNo)
                .append(",invoiceNumber=")
                .append(invoiceNumber)
                .append(",splitAmount=")
                .append(splitAmount)
                .append(",amountClaimed=")
                .append(amountClaimed)
                .append(",unallocatedAmount=")
                .append(unallocatedAmount)
                .append(",foreignBankDeductions=")
                .append(foreignBankDeductions)
                .append(",domesticBankCharge=")
                .append(domesticBankCharge)
                .append(",totalContract=")
                .append(totalContract)
                .append(",claimCustomer=")
                .append(claimCustomer)
                .append(",claimSalesman=")
                .append(claimSalesman)
                .append(",createDate=")
                .append(createDate)
                .append(",modifyTime=")
                .append(modifyTime)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}